{extend name="common/main"}

{block name="css"}
<style>
    #dd{
        float: right;
        margin-top:30px;
    }
</style>
<!-- 本页面需要额外添加的css请在此处添加 -->
{/block}
{block name="body"}
<body>
<header>
    <div class="tab_nav">
        <div class="header">
            <div class="h-left"><a class="sb-back" href="{:url('User/index')}" title="返回"></a></div>
            <div class="h-mid">我的订单</div>
            <div class="h-right">
                <aside class="top_bar">
                    <div onClick="show_menu();$('#close_btn').addClass('hid');" id="show_more"><a href="javascript:;"></a> </div>
                </aside>
            </div>
        </div>
    </div>
</header>
{include file="common/goods_nav"}
<div id="tbh5v0">
    <!--------筛选 form 表单 开始-------------->
    <form action="{:url('Mobile/order_list/ajax_order_list')}" name="filter_form" id="filter_form">
        <div class="Evaluation2">
            <ul>
                <li><a href="{:url('/Mobile/User/order_list')}" >全部</a></li>
                <li><a href="{:url('/Mobile/User/order_list',array('type'=>'WAITSEND'))}"     class="tab_head ">待发货</a></li>
                <li><a href="{:url('/Mobile/User/order_list',array('type'=>'WAITRECEIVE'))}"  class="tab_head ">待收货</a></li>
                <li><a href="{:url('/Mobile/User/order_list',array('type'=>'WAITCCOMMENT'))}" class="tab_head ">已完成</a></li>
                <li><a href="{:url('/Mobile/User/order_list2')}"      class="tab_head on">退/换</a></li>

            </ul>
        </div>

        <div class="order ajax_return">
            {volist name="return" id="list"}
                <div class="order_list">
                            <dl style="position: relative">
                                <dt><img src="{$list.goods_id|goods_thum_images=200,200}"></dt>
                                <dd class="name" style="height: 20px;"><strong>{$list.goods_name}</strong>
                                <dd class="pice">￥{$list['member_goods_price']}元</dd>
                                <dd class="name"  style="height: 20px;"><strong>申请时间:</strong>
                                <dd class="pice">{$list.addtime|date='Y-m-d H:i:s',###}</dd>
                                <dd class="name"  style="height: 20px;"><strong>结果:</strong>
                                <dd class="pice">{if $list.status=="0"}申请中{elseif $list.status=="1"}客服理中{else}已完成{/if}</dd>
                                <dd class="pice">备注:{$list.remark}</dd>
                            </dl>
                </div>
            {/volist}
        </div>
        <!--查询条件-->
    </form>
</div>
{include file="common/bar"}
</body>
{/block}

{block name="js"}
<script src="/layer/layer.js"></script>
<script language="javascript">
    var  page = 1;


    function order_confirm(id) {
        $.post("{:url('order_confirm')}", {id: id}, function (res) {
            if (res.code == 201) {
                layer.msg(res.msg, {shade: 0.5, time: 1000, icon: 2});
                return false;
            }
            location.href = "{:url('User/order_list')}";
        });
    }

</script>
{/block}